import functionnodes.FunctionNode;
import data.Value;

/**
 * @author loaner
 */
class functionnodes.FunctionNodeMacro extends FunctionNode {
	
	function FunctionNodeMacro() {
		super();
		funcname = "defmacro";
		type = FunctionNode.MACRO;
	}
	
	public function reduceXMLtoXML( scope:Object, XMLdataNodes:Array ) : XMLNode
	{
		var returnXML:XMLNode;
		
		// OK, this is very similar to Lambda in some ways.
		
		// I'm going to return a functionnode, after all.
		
		// But it's going to do very different things, that's all. 
		
		trace("MACRO GOT: some xml:" + XMLdataNodes);
		// To be fair, the macro should only get a single 
		
		return returnXML;
	}
	
	
	

}